home *** CD-ROM | disk | FTP | other *** search
/ Megarom / Megarom Macintosh CD Software (Quantum Leap)(1992).iso / UTILITIES / Photoclip FKey ƒ / protoclip readme.c < prev   
Text File  |  1991-04-20  |  1KB  |  48 lines

  1. /*
  2.  
  3. Protoclip
  4.  
  5. by Alex D. Chaffee 
  6. (chaffee@reed.bitnet, AOL:AlexCh, CIS:71210,1117)
  7. Copyright © 1991 Alex Chaffee. Permission granted to change and distribute
  8. freely, provided all changes are documented.
  9.  
  10. This FKEY takes any C source code in the clipboard and converts it
  11. into a list of ANSI prototypes. The prototyping code is based on a
  12. Unix program called mkptypes by Eric R. Smith (ersmith@uwovax.uwo.ca
  13. or @uwovax.bitnet). Since it's in the public domain, protoclip is
  14. freeware.
  15.  
  16. To use in Think C, either memorize or make a macro for the following
  17. keystrokes:
  18.  
  19.     Cmd-A        (select all)
  20.     Cmd-C        (copy)
  21.     Cmd-Shift-8    (protoclip)
  22.     Up Arrow    (move to the top of the file)
  23.     Cmd-V        (paste)
  24.  
  25. This release has been tested with Think C. If you find problems with
  26. MPW, let me know. 
  27.  
  28. One interesting effect is if you're using both Kiss and 4Plus, if you
  29. set a mark (cmd-space) with Kiss, then activate the fkey, then press
  30. cmd-Enter, it will jump to the mark and paste the prototypes. I have
  31. no idea why this works, despite the fact that I wrote Kiss...!
  32.  
  33. It sometimes gets confused by single quotes inside comments. The
  34. fix is to replace ' with ’.
  35.  
  36.  - Alex
  37.  
  38. Version History
  39.  
  40. 1.0    3/1/91
  41.  
  42. 1.1    3/9/91    Works with Think C methods and (presumably) C++
  43.  
  44. 1.2    4/20/91    Fixed a cosmetic cursor bug
  45.         Cleaned up source code and released it
  46.  
  47. */
  48.